TimestampedModel

@Serializable
open class TimestampedModel(val created: <Error class: unknown class>? = null, val updated: <Error class: unknown class>? = null, modelId: String? = null) : BaseModel

A class that can be extended if you want to view the created and updated time of a model.

Parameters

created

the created field from the model.

updated

the updated field from the model.

Inheritors

Constructors

Link copied to clipboard
constructor(created: <Error class: unknown class>? = null, updated: <Error class: unknown class>? = null, modelId: String? = null)

Properties

Link copied to clipboard
val created: <Error class: unknown class>? = null
Link copied to clipboard
open val id: String? = null
Link copied to clipboard
val updated: <Error class: unknown class>? = null

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int